<template>
  <div>
    <side-toolbar ref="sideToolbar"></side-toolbar>
    <el-container direction="vertical">
      <sidebar />
      <div>
        <navbar></navbar>
      </div>
      <el-container class="w-wrap-inner">
          <first-index></first-index>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import FirstIndex from "./index/FirstIndex";
import Navbar from "./index/FirstNavbar";
import SideToolbar from "@/views/layout/components/SideToolbar";
import sidebar from "@/views/layout/components/Sidebar";
export default {
  name: "layout",
  components: {
    Navbar,
    SideToolbar,
    sidebar,
    FirstIndex
  },
  beforeCreate: function() {
    document.body.className = "default";
  },
  methods: {}
};
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
@import "src/styles/mixin.scss";
body {
  background: #f3f3f3;
}

.app-wrapper {
  @include clearfix;
  position: relative;
  height: 100%;
  width: 100%;
}

.drawer-bg {
  background: #000;
  opacity: 0.3;
  width: 100%;
  top: 0;
  height: 100%;
  position: absolute;
  z-index: 999;
}

.w1390-230 {
  width: 1140px;
  border: 1px solid;
}
.el-aside {
  margin-top: 20px;
}
.el-main {
  overflow: hidden;
}
</style>
